package cn.zhaoyuening.fanblog.admin.web;

import cn.zhaoyuening.fanblog.common.domain.ArticleType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Buynow on 2017/8/21.
 */
@RestController
public class DemoController {
    @RequestMapping(path = "demo",method = RequestMethod.PUT)
    public String demo(ArticleType type) {
        return "success";
    }
}
